<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改核查信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-CLCheckOption-edit" th:object="${cLCheckOption}">
            <input name="guid" th:field="*{guid}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">施工许可条件：</label>
                <div class="col-sm-8">
                    <input name="condition" th:field="*{condition}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">核查结论：</label>
                <div class="col-sm-8">
                    <input name="checkconclusion" th:field="*{checkconclusion}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">具体情况：</label>
                <div class="col-sm-8">
                    <input name="checksituation" th:field="*{checksituation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">添加日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="pubdate" th:value="${#dates.format(cLCheckOption.pubdate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">核查人：</label>
                <div class="col-sm-8">
                    <input name="checkusername" th:field="*{checkusername}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">排序字段：</label>
                <div class="col-sm-8">
                    <input name="ordernum" th:field="*{ordernum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">施工许可id：</label>
                <div class="col-sm-8">
                    <input name="dataguid" th:field="*{dataguid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核类型：</label>
                <div class="col-sm-8">
                    <select name="checktype" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
        var prefix = ctx + "supervise/CLCheckOption";
        $("#form-CLCheckOption-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-CLCheckOption-edit').serialize());
            }
        }

        $("input[name='pubdate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>